<template>
	<view class="pressure-week">
		<view class="pressure-echart">
			<view>
				<text class="tap">35</text>
				<text class="small">17:02</text>
			</view>
			<view class="echart">
				<pressureWeekLineVue></pressureWeekLineVue>
			</view>
		</view>
		<view class="pressure-overview">
			<view>
				<image src="/static/index/overview.png"></image>
				<text>本周概况</text>
			</view>
			<view class="pressure-content">
				<view>
					<text class="tap">35</text>
					<text>本周最高</text>
				</view>
				<view>
					<text class="tap">35</text>
					<text>本周最低</text>
				</view>
				<view>
					<text class="tap">35</text>
					<text>本周平均</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
import pressureWeekLineVue from '../../../ucharts/pressure/pressureWeekLine.vue';
</script>

<style scoped>
	.pressure-week{
		paddingr:0rpx 10rpx 0rpx 10rpx;
		margin-top:240rpx;
		height: 1300rpx;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
	
	}
	text{
		margin:8rpx 0rpx 0rpx 20rpx;
	}
	.pressure-echart{
		height:620rpx;
		display:flex;
		flex-direction: column;
		justify-content: flex-start;
		margin:10rpx 20rpx;
		padding-top:20rpx;
		box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
		border-radius: 25rpx;
	}
	.pressure-echart view:nth-child(1){
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}
	.small{
		font-size:24rpx;
		color:#868686;
		margin-left:20rpx;
	}
	image{
		margin-left: 20rpx;
		width: 50rpx;
		height: 50rpx;
	}
	/* echart图 */
	.echart{
		width:100%;
		height:80%;
	}
	.tap{
		font-size: 44rpx;
	}

   
	.pressure-content{
		width:100%;
		height:80%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.pressure-content>view{
		width:45%;
		height:30%;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items:center;
		margin-top:20rpx;
		margin-left: 20rpx;

	}
	.pressure-content view:nth-child(1),
	  .pressure-content view:nth-child(3){
		 border-right:4rpx dotted #d1d1d1;
	 }
	.pressure-overview >view:nth-child(1){
		width: 100%;
		height:20%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		border-bottom: 4rpx solid #d1d1d1;
		align-items: center;
	}
	.pressure-overview{
		height:620rpx;
		display:flex;
		flex-direction: column;
		justify-content: flex-start;
		margin:10rpx 20rpx;
		padding-top:20rpx;
		box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
		border-radius: 25rpx;
	}
</style>